package com.movie.demo.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("seat")
public class Seat {
    @TableId(type = IdType.AUTO)
    private int id;
    @TableField
    private int mid;
    @TableField
    private int room_id;
    @TableField
    private int session_id;
    @TableField
    private int cinema_id;
    @TableField
    private String seat;
    @TableField
    private int flag;
    @TableField
    private int uid;
}